package com.key.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;


/**
 *  * @description:归还表实体类
 *  * @author: tc
 *  * @date: 2023/2/18 10：46
 */
@ApiModel("实物信息变更实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReturnAssets {


  @ApiModelProperty(name = "returnId",notes = "id",dataType = "Integer")
  private Integer returnId;
  @ApiModelProperty(name = "state",notes = "办理状态",dataType = "String")
  private String state;
  @ApiModelProperty(name = "returnNumber",notes = "归还单号",dataType = "String")
  private String returnNumber;
  @ApiModelProperty(name = "borrower",notes = "借用人",dataType = "String")
  private String borrower;
  @ApiModelProperty(name = "returnRegion",notes = "归还后区域",dataType = "String")
  private String returnRegion;
  @ApiModelProperty(name = "returnStoragePoint",notes = "归还后存放点",dataType = "String")
  private String returnStoragePoint;
  @ApiModelProperty(name = "borrowDate",notes = "借用日期")
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  private Timestamp borrowDate;
  @ApiModelProperty(name = "estimatedReturnTime",notes = "预计归还时间")
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  private Timestamp estimatedReturnTime;
  @ApiModelProperty(name = "actualReturnTime",notes = "实际归还时间")
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  private Timestamp actualReturnTime;
  @ApiModelProperty(name = "returnRemarks",notes = "归还备注",dataType = "String")
  private String returnRemarks;
  @ApiModelProperty(name = "handlers",notes = "处理人",dataType = "String")
  private String handlers;
  @ApiModelProperty(name = "approveProgress",notes = "审批进度",dataType = "String")
  private String approveProgress;

}
